	# 根目录 CMakeLists.txt
	cmake_minimum_required(VERSION 3.20)
	project(HazelEngine)
	# 设置 C++ 标准
	set(CMAKE_CXX_STANDARD 17)
	set(CMAKE_CXX_STANDARD_REQUIRED ON)
	# 设置编译器
	if(MINGW)
	    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static -static-libgcc -static-libstdc++")
	endif()
	# 设置输出目录
	set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
	set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
	set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
	# 添加子目录
	add_subdirectory(Hazel)
	add_subdirectory(Sandbox)